package org.example.pojo;

import java.io.Serializable;

/**
 * ClassName: Person
 * Package: org.example.mybatis.pojo
 * Description:
 *
 * @Author wanghao
 * @Create 2024-06-28 8:12
 * @Version 1.0
 */
public class Person implements Serializable {

    private Integer id;
    private String pname;
    private String address;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", pname='" + pname + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
